package com.hava.contentsale.meta;

import com.hava.contentsale.utils.OutputObject;

import java.math.BigDecimal;

/**
 * Created by yanfa on 2016/11/20.
 * 账务每一项的内容
 * 标题
 * 图片
 * 购买的时间
 * 购买的价格
 */
public class AccountVO extends OutputObject{

    // 产品ID
    long id;

    // 标题
    String title;

    // 图片
    String image;

    // 购买时的价格
    BigDecimal buyPrice;

    // 购买时间（13位时间戳）
    long buyTime;

    // Getter and Setter

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

//    public long getBuyPrice() {
//        return buyPrice;
//    }
//
//    public void setBuyPrice(long buyPrice) {
//        this.buyPrice = buyPrice;
//    }


    public BigDecimal getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(BigDecimal buyPrice) {
        this.buyPrice = buyPrice;
    }

    public long getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(long buyTime) {
        this.buyTime = buyTime;
    }
}
